package com.bmps.springcloud.insuredmicroservice.service.underwrite.strategy.addprem;

import com.bmps.springcloud.insuredmicroservice.model.accept.resquest.ProductModel;
import com.bmps.springcloud.insuredmicroservice.model.accept.resquest.RequestModel;
import com.bmps.springcloud.insuredmicroservice.model.trail.TrialPersonModel;
import com.bmps.springcloud.insuredmicroservice.service.RedisService;

/**
 * description:
 * 加费
 *
 * @author jackdaw
 * @date 2020-06-28 11:59
 */
public interface AddPremStrategy {
    /**
     * 计算加费
     *
     * @param productModel 当前产品
     * @param requestModel 请求受理报文
     * @param redisService redis操作
     * @return 计算要素信息汇总
     */
    TrialPersonModel calculateAddPrem(ProductModel productModel, RequestModel requestModel, RedisService redisService);
}
